﻿<UserControl x:Class="SinaFinance.SummaryInfoLibrary.SearchSuggestHistory"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  KeyDown="UserControl_KeyDown">

    <Canvas x:Name="SearchCanvas">
        <TextBox Text="" Margin="0,0,0,0" Width="138" x:Name="txtSearch" TextChanged="txtSearch_TextChanged" KeyDown="txtSearch_KeyDown" GotFocus="txtSearch_GotFocus" Style="{StaticResource TextBoxStyle1}" Foreground="#FF7F7F80"></TextBox>
        <Button Margin="142,1,0,0" Content="股票搜索" Width="70" x:Name="btnSearch" IsEnabled="False" Click="btnSearch_Click"></Button>
        <Button Margin="215,1,0,0" Content="股票历史" Width="70" x:Name="btnHistory" Click="btnHistory_Click"></Button>
        <ListBox x:Name="lstPopSuggest" Margin="0,25,0,0" Visibility="Collapsed" SelectionChanged="lstPopSuggest_SelectionChanged" KeyDown="lstPopSuggest_KeyDown" MouseLeftButtonUp="lstPopSuggest_MouseLeftButtonDown"  Background="White" Foreground="#ff000000" BorderBrush="{x:Null}" Style="{StaticResource ListBoxStyle1}">
        </ListBox>
        <ListBox x:Name="lstPopHistory" Margin="215,25,0,0" Visibility="Collapsed" SelectionChanged="lstPopHistory_SelectionChanged" BorderBrush="{x:Null}" Style="{StaticResource ListBoxStyle1}">
        </ListBox>
    </Canvas>
</UserControl>
